import request from '@/utils/request'

// 查询链上提现列表
export function listWRecordTransferOut(query) {
  return request({
    url: '/api/wRecordTransferOut/list',
    method: 'get',
    params: query
  })
}

// 查询链上提现详细
export function getWRecordTransferOut(id) {
  return request({
    url: '/api/wRecordTransferOut/' + id,
    method: 'get'
  })
}

// 新增链上提现
export function addWRecordTransferOut(data) {
  return request({
    url: '/api/wRecordTransferOut',
    method: 'post',
    data: data
  })
}

// 修改链上提现
export function updateWRecordTransferOut(data) {
  return request({
    url: '/api/wRecordTransferOut',
    method: 'put',
    data: data
  })
}

// 删除链上提现
export function delWRecordTransferOut(id) {
  return request({
    url: '/api/wRecordTransferOut/' + id,
    method: 'delete'
  })
}
